﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Jzy.BLL.Project;
using System.Data;

using Jzy.Core.Common.Web;
using Frame.Lib.Utilities;

public partial class Project_Task_ChangeList : PageList
{
    private string TaskID
    {
        get
        {
            return StrUtil.DecryptUrl(Request["TaskID"]);
        }
    }

    private TaskChangeBO _change = new TaskChangeBO();
    protected void Page_Load(object sender, EventArgs e)
    {
        WebUtil.AllowPageScroll(this);
        if (!IsPostBack)
        {
            BindView();
        }
    }

    private void BindView()
    {
        DataTable dt = _change.GetList(TaskID);
        lv.DataSource = dt.DefaultView;
        lv.DataBind();
    }
}
